package goEncrypt

import "errors"

var (
	ErrCipherKey           = errors.New("The secret key is wrong and cannot be decrypted. Please check")
	ErrKeyLengthSixteen    = errors.New("a sixteen-length secret key is required")
	ErrKeyLengtheEight     = errors.New("a eight-length secret key is required")
	ErrKeyLengthTwentyFour = errors.New("a twenty-four-length secret key is required")
)

var (
	Myiv  = "shangmei12345678"
	Ivdes = "shangmei"

	PrivateFileName = "C:\\Users\\Tsinghua-yincheng\\Desktop\\day11\\private.pem"
	PublicFileName  = "C:\\Users\\Tsinghua-yincheng\\Desktop\\day11\\public.pem"

	EccPrivateFileName = "eccprivate.pem"
	EccPublishFileName = "eccpublic.pem"

	privateKeyPrefix = " SMM RSA PRIVATE KEY "
	publicKeyPrefix  = " SMM RSA PUBLIC KEY "

	eccPrivateKeyPrefix = " SMM  ECC PRIVATE KEY "
	eccPublicKeyPrefix  = " SMM  ECC PUBLIC KEY "
)
